<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/content.jsp"%>
<link href="${pageContext.request.contextPath}/common/css/style.css?v=1.0" rel=stylesheet type="text/css">
</head>
<body class="mainBody" onload="">
<form action="" method="post">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="formTable">
    <tr>
        <td class="formTableL">&#160;</td>
        <td class="formTableC">
            <div class="ecSide"  style="width:100%;" style="overflow-y:auto; height:100%">
                <table border="0" cellspacing="0" cellpadding="0" class="tableRegion" width="100%">
                    <c:choose>
                        <c:when test="${ifselect=='true'}">
                            <c:if test="${!empty results}">
                                <c:forEach var="item" items="${results}" varStatus="status">
                                    <c:choose><c:when test="${status.first}">
                                    <tr><td class="tableHeader">序号</td><c:forEach items="${item}" var="entry"><td class="tableHeader"><c:out value="${entry.key}" /></td></c:forEach></tr>
                                    </c:when></c:choose>
                                    <tr onclick="selectRowClk(this);" onmouseover="ECSideUtil.lightRow(this,'ec');" onMouseOut="ECSideUtil.unlightRow(this,'ec');" style="cursor:hand;" <c:if test="${status.index%2 == 1}">class="even"</c:if> <c:if test="${status.index%2 != 1}">class="odd"</c:if>><td>${status.index}</td><c:forEach items="${item}" var="entry"><td><c:out value="${entry.value}" />&nbsp;</td></c:forEach></tr>
                                </c:forEach>
                            </c:if>
                        </c:when>
                        <c:when test="${ifselect=='false'}">
                            <tr>
                                <td>SQL执行成功：<c:out value="${updateNum}" /></td>
                            </tr>
                        </c:when>
                        <c:otherwise>
                        </c:otherwise>
                    </c:choose>
                </table>
            </div>
        </td>
        <td class="formTableR">&#160;</td>
    </tr>
    <tr>
        <td class="formTableLB"></td>
        <td class="formTableB"></td>
        <td class="formTableRB"></td>
    </tr>
</table>
</form>
</body>
</html>